import request from '@/utils/request'

export default {

  //获取所有信息
  getAllSubjectInfo() {
    return request({
      url: '/paper/getAllSubjectInfo',
      method: 'get'
    })
  },
  //上传论文表单数据
  addPaper(paperInfo,userName) {
    return request({
      url: '/paper/uploadData?userName='+userName,
      method: 'post',
      data: paperInfo
    })
  },
  deletePaperInfo(paperInfoName){
    return request({
      url: 'znkz/paperPaperInfo/deletePaperInfo?paperInfoName='+paperInfoName,
      method: 'post',
    })
  }

}
